package com.zeildlin.seecode.Dao.Mapper;
import com.zeildlin.seecode.entity.User;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface UserMapper {

    User getUserById(int id);

    User getUserByName(String username);

    User getUserByEmail(String email);

    int insertUser(User user);

    int updateUserStatus(int id,int status);

    int updateUserHeader(int id,String headerUrl);

    int updatePassword(String password,int id);

}
